<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="site/common::header('首页')"/>
</head>
<body>
<th:block th:include="site/common::navigation"/>
<!--首图-->
<div class="homepage-slides owl-carousel">
    <div class="single-slide-item">
        <div class="overlay"></div>
        <div class="hero-area-content">
            <div class="container">
                <div class="row justify-content-center">
                    <div class="col-lg-10 text-center wow fadeInUp animated" data-wow-delay=".2s">
                        <div class="section-title">
                            <h1>工业互联网俱乐部</h1>
                            <h2>数据化时代先驱</h2>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!--内容-->
<div class="w3l-homeblock1 py-5">
    <!--资讯-->
    <div class="row">
        <div class="col-lg-8 col-md-10 col-10  m-auto">
            <a href="/news">
                <div class="title mt-1 mb-2">
                    <span>资讯&nbsp;&nbsp;</span><span>NEWS&nbsp;&nbsp;</span><span>>>></span>
                </div>
            </a>
            <div class="row ">
                <!--轮播图-->
                <div class="col-lg-6 col-md-7 mb-5">
                    <div id="carousels" class="carousel slide" data-ride="carousel">
                        <ol class="carousel-indicators">
                            <li data-target="#carousels" data-slide-to="0" class="active"></li>
                            <li data-target="#carousels" data-slide-to="1"></li>
                            <li data-target="#carousels" data-slide-to="2"></li>
                        </ol>
                        <div class="carousel-inner">
                            <div th:each="ad,stat:${indexAdList}" th:if="${stat.first}" class="carousel-item active">
                                <a th:href="${ad.link}" target="_blank">
                                    <img th:src="${ad.materialUrl}" class="d-block w-100 radius-image">
                                </a>
                            </div>
                            <div th:each="ad,stat:${indexAdList}" th:unless="${stat.first}" class="carousel-item">
                                <a th:href="${ad.link}" target="_blank">
                                    <img th:src="${ad.materialUrl}" class="d-block w-100 radius-image">
                                </a>
                            </div>
                        </div>
                        <a class="carousel-control-prev" href="#carousels" role="button" data-slide="prev">
                            <span class="carousel-control-prev-icon" aria-hidden="true"></span>
                            <span class="sr-only">Previous</span>
                        </a>
                        <a class="carousel-control-next" href="#carousels" role="button" data-slide="next">
                            <span class="carousel-control-next-icon" aria-hidden="true"></span>
                            <span class="sr-only">Next</span>
                        </a>
                    </div>
                </div>
                <!--新闻列表-->
                <div class="col-lg-6 col-md-5 mt-md-0">
                    <div class="list-view list-view1">
                        <div class="grids5-info mb-3" th:each="news:${hotNews}">
                            <a th:href="'/news/' + ${news.id}" target="_blank" class="d-block zoom">
                                <img th:src="${news.cover}" th:alt="${news.title}" class="img-fluid-1 radius-image news-image">
                            </a>
                            <div class="blog-info align-self">
                                <a th:href="'/news/' + ${news.id}" class="blog-desc1">[[*{news.title}]]</a>
                                <div class="display-5">
                                    <ul class="blog-meta">
                                        <li class="meta-item blog-lesson">
                                            <span class="meta-value">[[*{#dates.format(news.publishTime, 'yyyy-MM-dd')}]]</span>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--活动-->
    <div class="row">
        <div class="col-lg-8 col-md-10 col-10  m-auto">
            <a href="/activity">
                <div class="title mt-5 mb-2">
                    <span>活动&nbsp;&nbsp;</span><span>ACTIVITY&nbsp;&nbsp;</span><span>>>></span>
                </div>
            </a>
            <div class="row grid-list">
                <div class="col-lg-3 col-md-6 col-sm-12 col-12 grid-area" th:each="activity:${hotActivities}">
                    <div class="activity-area wow fadeInUp" data-wow-delay=".5s">
                        <div class="activity-cover">
                            <a class="entry-title" th:href="'/activity/' + ${activity.id}" target="_blank">
                                <img th:src="${activity.cover}">
                            </a>
                        </div>
                        <div class="activity-info">
                            <div class="activity-title">[[*{activity.title}]]</div>
                            <div class="activity-place">[[*{activity.place}]]</div>
                            <div class="activity-date">[[*{#dates.format(activity.startTime, 'yyyy-MM-dd')}]]</div>
                            <a class="details " th:href="'/activity/' + ${activity.id}" target="_blank">查看详情</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--产品-->
    <div class="row">
        <div class="col-lg-8 col-md-10 col-10  m-auto">
            <a href="/product">
                <div class="title mt-5">
                    <span>产品&nbsp;&nbsp;</span><span>PTODUCT&nbsp;&nbsp;</span><span>>>></span>
                </div>
            </a>
            <div class="row grid-list">
                <div class="col-lg-4 col-md-6 col-sm-12 col-12 grid-area" th:each="product:${hotProducts}">
                    <a class="entry-title" th:href="'/product/' + ${product.id}" target="_blank">
                        <div class="product-area wow fadeInUp" data-wow-delay=".5s">
                            <div class="product-icon">
                                <img class="product-img" th:src="${product.logo}" th:alt="${product.name}">
                            </div>
                            <div class="product-info">
                                <div class="product-name">[[*{product.name}]]</div>
                                <div class="product-desc">[[*{product.description}]]</div>
                            </div>
                        </div>
                    </a>
                </div>
            </div>
        </div>
    </div>
    <!--解决方案-->
    <div class="row">
        <div class="col-lg-8 col-md-10 col-10 m-auto section-padding pad-top-50">
            <a href="/solution">
                <div class="title mt-5 mb-2">
                    <span>解决方案&nbsp;&nbsp;</span><span>SOLUTION&nbsp;&nbsp;</span><span>>>></span>
                </div>
            </a>
            <div class="row grid-list">
                <div class="col-lg-4 col-md-6 col-sm-12 grid-area" th:each="solution:${hotSolutions}">
                    <div class="solution-area wow fadeInUp" data-wow-delay=".5s">
                        <div class="solution-bg">
                            <img th:src="${solution.cover}" th:alt="${solution.title}">
                        </div>
                        <div class="solution-content">
                            <h3>[[*{solution.title}]]</h3>
                            <a th:href="'/solution/' + ${solution.id}" target="_blank" class="read-more" th:title="${solution.title}">查看详情</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--案例-->
    <div class="row">
        <div class="col-lg-8 col-md-10 col-10 m-auto section-padding pad-top-50">
            <a href="/solution">
                <div class="title mt-5 mb-2">
                    <span>案例&nbsp;&nbsp;</span><span>CASE&nbsp;&nbsp;</span><span>>>></span>
                </div>
            </a>
            <div class="row grid-list">
                <div class="col-lg-4 col-md-6 col-sm-12 grid-area" th:each="_case:${hotCases}">
                    <div class="solution-area wow fadeInUp" data-wow-delay=".5s">
                        <div class="solution-bg">
                            <img th:src="${_case.cover}" th:alt="${_case.title}">
                        </div>
                        <div class="solution-content">
                            <h3>[[*{_case.title}]]</h3>
                            <a th:href="'/case/' + ${_case.id}" target="_blank" class="read-more" th:title="${_case.title}">查看详情</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--研究报告-->
    <div class="row">
        <div class="col-lg-8 col-md-10 col-10 m-auto section-padding pad-top-50">
            <a href="/report">
                <div class="title mt-5 mb-2">
                    <span>研究报告&nbsp;&nbsp;</span><span>REPORT&nbsp;&nbsp;</span><span>>>></span>
                </div>
            </a>
            <div class="row grid-list" id="report-list">
                <div class="col-lg-3 col-md-6 col-sm-12 col-12 grid-area" th:each="report:${hotResearchReports}">
                    <div class="report-cover mb-4 wow fadeInUp" data-wow-delay=".5s" th:style="'background-image: url(' + ${report.cover} + ');'">
                        <a th:href="'/report/' + ${report.id}" target="_blank" th:title="${report.title}">
                            <div class="report-title">[[*{report.title}]]</div>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<th:block th:include="site/common::footer"/>
</body>
<th:block th:include="site/common::js"/>
</html>